import {defineStore} from 'pinia'
import {ref} from 'vue'
 const useNewStore=defineStore('newstore',()=>{
  const Anewlist=ref([])
  const add=(value)=>{
    Anewlist.value.push({...value})
  }

  return {
    Anewlist,
    add
  }
})
export default useNewStore